package com.qianhui.orderapi.haiguan;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "EOrder", propOrder = {"orderId", "IEFlag", "orderStatus", "entRecordNo", "entRecordName", "orderName", "orderDocType", "orderDocId", "orderPhone", "orderGoodTotal", "orderGoodTotalCurr", "freight", "freightCurr", "tax", "taxCurr", "note", "orderDate"})
public class EOrder
{
    //订单编号	用户订单编号；取消订单的企业订单编号，必须是被取消订单的用户订单编号；订单编号必须对应支付凭证的订单编号；
    private String OrderId;
    //进出口标识	I:进口；E:出口	必录；
    private String IEFlag;
    //订单状态	S-订单新增，C-订单取消；	必录，无值或不合法，退单重报；
    private String OrderStatus;
    //电商平台企业备案号（代码）	在海关通关服务系统中备案的平台企业编号或代码；(前期无备案信息填写电商平台组织机构代码)
    private String EntRecordNo;
    //电商平台企业名称		必填；
    private String EntRecordName;
    //订单人姓名		可为空
    private String OrderName;
    //订单人证件类型	01:身份证、02:护照、03:其他	可为空
    private String OrderDocType;
    //订单人证件号		可为空
    private String OrderDocId;
    //订单人电话	订单人电话	可为空
    private String OrderPhone;
    //订单商品总额	RMB金额（元）	必录，无值，退单重报；
    private String OrderGoodTotal;
    //订单商品总额币制	海关标准的参数
    private String OrderGoodTotalCurr;
    //运费	可以=0；RMB金额（元）	必录，无值，退单重报；
    private String Freight;
    //运费币制	海关标准的参数	必录；成交币制代码，取（币制代码表(CURR)）；
    private String FreightCurr;
    //税款	可以=0；根据订单商品总额计税；RMB金额（元）	必录，无值，退单重报；
    private String Tax;
    //税款币制	海关标准的参数	必录；成交币制代码，取（币制代码表(CURR)）；
    private String TaxCurr;
    //备注	企业输入	可空
    private String Note;
    //订单日期	YYYY-MM-DD：HH：MM：SS	必录；
    private String OrderDate;

    public EOrder()
    {
        super();
        // TODO Auto-generated constructor stub
    }

    public EOrder(String orderId, String iEFlag, String orderStatus, String entRecordNo, String entRecordName, String orderName, String orderDocType, String orderDocId, String orderPhone, String orderGoodTotal, String orderGoodTotalCurr, String freight, String freightCurr, String tax, String taxCurr, String note, String orderDate)
    {
        super();
        OrderId = orderId;
        IEFlag = iEFlag;
        OrderStatus = orderStatus;
        EntRecordNo = entRecordNo;
        EntRecordName = entRecordName;
        OrderName = orderName;
        OrderDocType = orderDocType;
        OrderDocId = orderDocId;
        OrderPhone = orderPhone;
        OrderGoodTotal = orderGoodTotal;
        OrderGoodTotalCurr = orderGoodTotalCurr;
        Freight = freight;
        FreightCurr = freightCurr;
        Tax = tax;
        TaxCurr = taxCurr;
        Note = note;
        OrderDate = orderDate;
    }

    @XmlElement(name = "OrderId")
    public String getOrderId()
    {
        return OrderId;
    }

    public void setOrderId(String orderId)
    {
        OrderId = orderId;
    }

    @XmlElement(name = "IEFlag")
    public String getIEFlag()
    {
        return IEFlag;
    }

    public void setIEFlag(String iEFlag)
    {
        IEFlag = iEFlag;
    }

    @XmlElement(name = "OrderStatus")
    public String getOrderStatus()
    {
        return OrderStatus;
    }

    public void setOrderStatus(String orderStatus)
    {
        OrderStatus = orderStatus;
    }

    @XmlElement(name = "EntRecordNo")
    public String getEntRecordNo()
    {
        return EntRecordNo;
    }

    public void setEntRecordNo(String entRecordNo)
    {
        EntRecordNo = entRecordNo;
    }

    @XmlElement(name = "EntRecordName")
    public String getEntRecordName()
    {
        return EntRecordName;
    }

    public void setEntRecordName(String entRecordName)
    {
        EntRecordName = entRecordName;
    }

    @XmlElement(name = "OrderName")
    public String getOrderName()
    {
        return OrderName;
    }

    public void setOrderName(String orderName)
    {
        OrderName = orderName;
    }

    @XmlElement(name = "OrderDocType")
    public String getOrderDocType()
    {
        return OrderDocType;
    }

    public void setOrderDocType(String orderDocType)
    {
        OrderDocType = orderDocType;
    }

    @XmlElement(name = "OrderDocId")
    public String getOrderDocId()
    {
        return OrderDocId;
    }

    public void setOrderDocId(String orderDocId)
    {
        OrderDocId = orderDocId;
    }

    @XmlElement(name = "OrderPhone")
    public String getOrderPhone()
    {
        return OrderPhone;
    }

    public void setOrderPhone(String orderPhone)
    {
        OrderPhone = orderPhone;
    }

    @XmlElement(name = "OrderGoodTotal")
    public String getOrderGoodTotal()
    {
        return OrderGoodTotal;
    }

    public void setOrderGoodTotal(String orderGoodTotal)
    {
        OrderGoodTotal = orderGoodTotal;
    }

    @XmlElement(name = "OrderGoodTotalCurr")
    public String getOrderGoodTotalCurr()
    {
        return OrderGoodTotalCurr;
    }

    public void setOrderGoodTotalCurr(String orderGoodTotalCurr)
    {
        OrderGoodTotalCurr = orderGoodTotalCurr;
    }

    @XmlElement(name = "Freight")
    public String getFreight()
    {
        return Freight;
    }

    public void setFreight(String freight)
    {
        Freight = freight;
    }

    @XmlElement(name = "FreightCurr")
    public String getFreightCurr()
    {
        return FreightCurr;
    }

    public void setFreightCurr(String freightCurr)
    {
        FreightCurr = freightCurr;
    }

    @XmlElement(name = "Tax")
    public String getTax()
    {
        return Tax;
    }

    public void setTax(String tax)
    {
        Tax = tax;
    }

    @XmlElement(name = "TaxCurr")
    public String getTaxCurr()
    {
        return TaxCurr;
    }

    public void setTaxCurr(String taxCurr)
    {
        TaxCurr = taxCurr;
    }

    @XmlElement(name = "Note")
    public String getNote()
    {
        return Note;
    }

    public void setNote(String note)
    {
        Note = note;
    }

    @XmlElement(name = "OrderDate")
    public String getOrderDate()
    {
        return OrderDate;
    }

    public void setOrderDate(String orderDate)
    {
        OrderDate = orderDate;
    }

    @Override
    public String toString()
    {
        return "EOrder [OrderId=" + OrderId + ", IEFlag=" + IEFlag + ", OrderStatus=" + OrderStatus + ", EntRecordNo=" + EntRecordNo + ", EntRecordName=" + EntRecordName + ", OrderName=" + OrderName + ", OrderDocType=" + OrderDocType + ", OrderDocId=" + OrderDocId + ", OrderPhone=" + OrderPhone + ", OrderGoodTotal=" + OrderGoodTotal + ", OrderGoodTotalCurr=" + OrderGoodTotalCurr + ", Freight=" + Freight + ", FreightCurr=" + FreightCurr + ", Tax=" + Tax + ", TaxCurr=" + TaxCurr + ", Note=" + Note + ", OrderDate=" + OrderDate + "]";
    }

}
